package com.example.myproject.patternmodel.strategy;

import com.example.myproject.patternmodel.strategy.annotation.TotalValidRegion;

/**
 * Created by xi on 2018/8/14.
 */

@TotalValidRegion(max=1000)//设置普通的在0-1000生效，以下类似，不再注释
public class  Common implements CalPrice{
     public Double calPrice(Double originalPrice){
        return originalPrice;
     }
 }